<?php require_once './app/header.php';?>
<section>
    <form class="form-data" action="app/usrValidation.php" method="post">
     <fieldset>
  <legend><h4>Потребителски данни</h4></legend>
        <label for="personname">Собствено име*</label><br>
        <input type="text" name="personname" value="<?php if(!empty($_SESSION['prev_data'])){echo $_SESSION['prev_data']['personname'];}?>" required="required"/><br/>
        <label for="fathername">Бащино име</label><br>
        <input type="text" name="fathername" value="<?php if(!empty($_SESSION['prev_data'])){echo $_SESSION['prev_data']['fathername'];}?>" /><br/>
        <label for="family">Фамилия*</label><br>
        <input type="text" name="family" value="<?php if(!empty($_SESSION['prev_data'])){echo $_SESSION['prev_data']['family'];}?>" required="required"/><br/>
        <label for="family">Потребителско име* </label><br>
        <input type="text" name="username" value="<?php if(!empty($_SESSION['prev_data'])){echo $_SESSION['prev_data']['username'];}?>" required="required"/><br/>
        <label for="family">Емайл*</label><br>
        <input type="email" name="email" value="<?php if(!empty($_SESSION['prev_data'])){echo $_SESSION['prev_data']['email'];}?>" required="required"/><br/>
        <label for="family">Телефон</label><br>
        <input type="text" name="phone" value="<?php if(!empty($_SESSION['prev_data'])){echo $_SESSION['prev_data']['phone'];}?>"/><br/>
        <input  class="submit"  type="submit" value="Продължи">
        </fieldset>
    </form>
</section>
<?php require_once './app/footer.php';?>